package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 国贸租户管理对象 guomao_tenant_info
 * 
 * @author sux
 * @date 2021-06-27
 */
public class GmTenantInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @Excel(name = "序号",prompt = "必填")
    private int serialNumber;

    /** 租户编号 */
    @Excel(name = "租户编号",prompt = "修改时不变，新增时不填")
    private String tenantId;

    /** 租户项目 */
    @Excel(name = "项目名称",prompt = "必填")
    private String tenantProject;

    /** 租户楼层 */
    @Excel(name = "租户楼层",prompt = "必填")
    private String tenantFloor;

    /** 租户房间 */
    @Excel(name = "租户房间",prompt = "必填")
    private String tenantRoom;

    /** 租户名称或单位 */
    @Excel(name = "租户名称或单位",prompt = "必填")
    private String tenantName;

    /** 租户面积 */
    @Excel(name = "租户面积(平方米)",prompt = "必填")
    private BigDecimal tenantArea;

    /** 空关面积 */
    @Excel(name = "空关面积(平方米)",prompt = "默认为0")
    private BigDecimal emptyArea;

    /** 租户房间单价 */
    @Excel(name = "租户房间单价",prompt = "必填")
    private BigDecimal tenantPrice;

    /** 租户空关单价 */
    @Excel(name = "租户空关单价",prompt = "默认为0")
    private BigDecimal emptyPrice;

    /** 租户租金总价 */
    @Excel(name = "租金总价",prompt = "必填")
    private BigDecimal totalPrice;

    /** 租赁开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "租赁开始时间", width = 30, dateFormat = "yyyy-MM-dd",prompt = "必填，格式yyyy-MM-dd")
    private Date tenantTime;
    private Date tenantBeginTime;
    private Date tenantOverTime;

    /** 租赁到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "租赁到期时间", width = 30, dateFormat = "yyyy-MM-dd",prompt = "必填，格式yyyy-MM-dd")
    private Date tenantEndTime;
    private Date tenantBeginEndTime;
    private Date tenantOverEndTime;

    /**
     *string格式自由输入
     *
     *  */
    @Excel(name = "收费方式",prompt = "必填")
    private String chargesType;

    /** 状态（0正常 1退租 2到期 3空关） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=退租,2=到期,3=空关",prompt = "必填，正常/退租/到期/空关")
    private String tenantStatus;


    /** 删除标志（0代表存在 2代表删除） 暂无使用 */
    private String delFlag;

    /**备注 */
    @Excel(name = "备注")
    private String remark;

    /*附件数*/
    private Integer fileCount;

    public Integer getFileCount() {
        return fileCount;
    }

    public void setFileCount(Integer fileCount) {
        this.fileCount = fileCount;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(int serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getTenantProject() {
        return tenantProject;
    }

    public void setTenantProject(String tenantProject) {
        this.tenantProject = tenantProject;
    }

    public String getTenantFloor() {
        return tenantFloor;
    }

    public void setTenantFloor(String tenantFloor) {
        this.tenantFloor = tenantFloor;
    }

    public String getTenantRoom() {
        return tenantRoom;
    }

    public void setTenantRoom(String tenantRoom) {
        this.tenantRoom = tenantRoom;
    }

    public String getTenantName() {
        return tenantName;
    }

    public void setTenantName(String tenantName) {
        this.tenantName = tenantName;
    }

    public BigDecimal getTenantArea() {
        return tenantArea;
    }

    public void setTenantArea(BigDecimal tenantArea) {
        this.tenantArea = tenantArea;
    }

    public BigDecimal getEmptyArea() {
        return emptyArea;
    }

    public void setEmptyArea(BigDecimal emptyArea) {
        this.emptyArea = emptyArea;
    }

    public BigDecimal getTenantPrice() {
        return tenantPrice;
    }

    public void setTenantPrice(BigDecimal tenantPrice) {
        this.tenantPrice = tenantPrice;
    }

    public BigDecimal getEmptyPrice() {
        return emptyPrice;
    }

    public void setEmptyPrice(BigDecimal emptyPrice) {
        this.emptyPrice = emptyPrice;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Date getTenantTime() {
        return tenantTime;
    }

    public void setTenantTime(Date tenantTime) {
        this.tenantTime = tenantTime;
    }

    public Date getTenantEndTime() {
        return tenantEndTime;
    }

    public void setTenantEndTime(Date tenantEndTime) {
        this.tenantEndTime = tenantEndTime;
    }

    public String getChargesType() {
        return chargesType;
    }

    public void setChargesType(String chargesType) {
        this.chargesType = chargesType;
    }

    public String getTenantStatus() {
        return tenantStatus;
    }

    public void setTenantStatus(String tenantStatus) {
        this.tenantStatus = tenantStatus;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Date getTenantBeginTime() {
        return tenantBeginTime;
    }

    public void setTenantBeginTime(Date tenantBeginTime) {
        this.tenantBeginTime = tenantBeginTime;
    }

    public Date getTenantOverTime() {
        return tenantOverTime;
    }

    public void setTenantOverTime(Date tenantOverTime) {
        this.tenantOverTime = tenantOverTime;
    }

    public Date getTenantBeginEndTime() {
        return tenantBeginEndTime;
    }

    public void setTenantBeginEndTime(Date tenantBeginEndTime) {
        this.tenantBeginEndTime = tenantBeginEndTime;
    }

    public Date getTenantOverEndTime() {
        return tenantOverEndTime;
    }

    public void setTenantOverEndTime(Date tenantOverEndTime) {
        this.tenantOverEndTime = tenantOverEndTime;
    }

    @Override
    public String toString() {
        return "GmTenantInfo{" +
                "serialNumber=" + serialNumber +
                ", tenantId='" + tenantId + '\'' +
                ", tenantProject='" + tenantProject + '\'' +
                ", tenantFloor='" + tenantFloor + '\'' +
                ", tenantRoom='" + tenantRoom + '\'' +
                ", tenantName='" + tenantName + '\'' +
                ", tenantArea=" + tenantArea +
                ", emptyArea=" + emptyArea +
                ", tenantPrice=" + tenantPrice +
                ", emptyPrice=" + emptyPrice +
                ", totalPrice=" + totalPrice +
                ", tenantTime=" + tenantTime +
                ", tenantBeginTime=" + tenantBeginTime +
                ", tenantOverTime=" + tenantOverTime +
                ", tenantEndTime=" + tenantEndTime +
                ", tenantBeginEndTime=" + tenantBeginEndTime +
                ", tenantOverEndTime=" + tenantOverEndTime +
                ", chargesType='" + chargesType + '\'' +
                ", tenantStatus='" + tenantStatus + '\'' +
                ", delFlag='" + delFlag + '\'' +
                ", remark='" + remark + '\'' +
                ", fileCount=" + fileCount +
                '}';
    }

}
